package com.shop.dao;

import com.shop.po.Winetype;
import com.shop.po.WinetypeExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface WinetypeMapper {
    int countByExample(WinetypeExample example);

    int deleteByExample(WinetypeExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(Winetype record);

    int insertSelective(Winetype record);

    List<Winetype> selectByExample(WinetypeExample example);

    Winetype selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") Winetype record, @Param("example") WinetypeExample example);

    int updateByExample(@Param("record") Winetype record, @Param("example") WinetypeExample example);

    int updateByPrimaryKeySelective(Winetype record);

    int updateByPrimaryKey(Winetype record);
}